package com.etc.entity;

import java.io.Serializable;

public class User implements Serializable {
    private Integer userid;

    private String username;

    private String userpwd;

    private String usersex;

    private String usertel;

    private String useraddress;

    private Integer userlevel;

    private Integer userstate;

    @Override
	public String toString() {
		return "User [userid=" + userid + ", username=" + username + ", userpwd=" + userpwd + ", usersex=" + usersex
				+ ", usertel=" + usertel + ", useraddress=" + useraddress + ", userlevel=" + userlevel + ", userstate="
				+ userstate + "]";
	}

	public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd == null ? null : userpwd.trim();
    }

    public String getUsersex() {
        return usersex;
    }

    public void setUsersex(String usersex) {
        this.usersex = usersex == null ? null : usersex.trim();
    }

    public String getUsertel() {
        return usertel;
    }

    public void setUsertel(String usertel) {
        this.usertel = usertel == null ? null : usertel.trim();
    }

    public String getUseraddress() {
        return useraddress;
    }

    public void setUseraddress(String useraddress) {
        this.useraddress = useraddress == null ? null : useraddress.trim();
    }

    public Integer getUserlevel() {
        return userlevel;
    }

    public void setUserlevel(Integer userlevel) {
        this.userlevel = userlevel;
    }

    public Integer getUserstate() {
        return userstate;
    }

    public void setUserstate(Integer userstate) {
        this.userstate = userstate;
    }
public User() {
	// TODO Auto-generated constructor stub
}
	public User(Integer userid, String username, String userpwd, String usersex, String usertel, String useraddress,
			Integer userlevel, Integer userstate) {
		super();
		this.userid = userid;
		this.username = username;
		this.userpwd = userpwd;
		this.usersex = usersex;
		this.usertel = usertel;
		this.useraddress = useraddress;
		this.userlevel = userlevel;
		this.userstate = userstate;
	}
    
}